<!DOCTYPE html>
<!-- Website template by freewebsitetemplates.com -->
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Artist Website Template</title>
	<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />	
    <style type="text/css">

	<!--
.style1 {font-size: 16px}
.style2 {
	color: #FFFFFF;
	font-weight: bold;
}
.style3 {color: #CCCCCC}
.style8 {font-size: 15px}
.style9 {font-size: 15px; font-weight: bold; }
-->
    </style>
</head>

<body>
<!-- /#page -->

<table width="1123" border="0" cellpadding="0" cellspacing="0" align="center">
  <!--DWLayoutTable-->
  <tr>
    <td width="303" rowspan="5" valign="top" bgcolor="#000000"><div id="sidebar" >
        <div id="logo"> <a href="index.html"></a> </div>
        <!-- /#logo -->
        <ul id="navigation">
          <li><strong><a href="quanlysanpham.html" class="style8">Quản lý sản phẨm</a></strong></li>
          <li><a href="quanlydanhmuc.html" class="style9">Quản lý danh mục sản pHẨM</a></li>
          <li><a href="quanlythanhvien.html" class="style9">QUẢN LÝ THÀNH VIÊN</a></li>
          <li class="style1"></li>
          <li class="style1"></li>
        </ul>
        <!-- /#navigation -->
        <ul id="connect">
          <li><a href="http://facebook.com/freewebsitetemplates" target="_blank" class="facebook"></a></li>
          <li><a href="http://twitter.com/fwtemplates" target="_blank" class="twitter"></a></li>
          <li><a href="" class="link-us"></a></li>
        </ul>
        <!-- /#connect -->
        <!-- /.footer -->
    </div></td>
    <td height="51" colspan="2" valign="top" bgcolor="#000000"><!--DWLayoutEmptyCell-->&nbsp;</td>
  <td width="68" valign="middle" bgcolor="#000000"><span class="style2">Admin</span></td>
  <td colspan="4" valign="middle" bgcolor="#000000"><span class="style3"><a href="Log%20out">Log out </a></span></td>
  <td width="29"></td>
  </tr>
  <tr>
    <td width="72" height="15"></td>
    <td width="387"></td>
    <td></td>
    <td width="51"></td>
    <td width="108"></td>
    <td width="57"></td>
    <td width="48"></td>
    <td></td>
  </tr>
  <tr>
    <td height="315"></td>
    <td colspan="4" align="center" valign="middle"><table>
      <!--DWLayoutTable-->
      <tr>
        <td width="50" height="24"></td>
          <td colspan="2" valign="top"><strong>Thay đổi thông tin sản phẩm </strong></td>
          <td width="8"></td>
          <td width="61"></td>
        </tr>
      <tr>
        <td height="24"></td>
        <td width="181">&nbsp;</td>
        <td width="278"></td>
        <td></td>
        <td></td>
      </tr>
      <!--DWLayoutTable-->
      <tr>
        <td></td>
            <td>Chọn sản phẩm muốn sửa</td>
            <td>
              <select>
                  <option>Lựa chọn</option>
                  <option> </option>
            </select>		    </td>
          <td></td>
          <td></td>
        </tr>
      <tr>
        <td></td>
            <td>Cập nhật lại tên sản phẩm</td>
            <td><input type="text" title="Tên sản phẩm" name="txttensp" id="txttensp" size="25" maxlength="40"/></td>
            <td><span id="lbltensp"></span></td>
            <td></td>
         </tr>
      <tr>
        <td></td>
            <td>Mã sản phẩm</td>
            <td><input type="text" title="Mã sản phẩm" name="txtcode" id="txtcode" size="25" maxlength="40"/></td>
            <td><span id="lblcode"></span></td>
            <td></td>
         </tr>
      <tr>
        <td></td>
           <td>Loại sản phẩm</td>
           <td>
             <select>
                 <option>Sony</option>
                 <option>Triple S</option>
                 <option>Apple</option>
                 <option>Phụ Kiện</option>
           </select>		    </td>
          <td></td>
          <td></td>
         </tr>
      <tr>
        <td></td>
            <td>Dành cho</td>
            <td>
              <select>
                  <option>Soul</option>
                  <option>Beats</option>
                  <option>Sennheiser</option>
                  <option>SkulCandy</option>
                  <option>SoundMagic</option>
           </select>		    </td>
          <td></td>
          <td></td>
         </tr>
      <tr>
        <td></td>
            <td>Giá tiền</td>
            <td><input type="text" title="Nhập giá tiền" name="txtgiasp" id="txtgiasp" size="15" maxlength="9"/></td>
            <td><span id="lblgiasp"></span></td>
            <td></td>
         </tr>
      <tr>
        <td></td> 
          <td>Ảnh sản phẩm</td>
          <td><input type="file" name="anhsp" id="anhsp"></td>
          <td><span id="lblanhsp"></td>
          <td></td>
        </tr>
      <tr>
        <td></td>
          <td></td>
               <td>
                   <input type="Submit" class="font4" name="gui" id="gui" value="Cập nhật thông tin" />
                   <input type="Reset" class="font4" value="Nhập lại thông tin"/>				</td>
               <td></td>
               <td></td>
         </tr>
      <tr>
        <td height="31"></td>
                 
         <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
    </table></td>
  <td>&nbsp;</td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td height="134"></td>
    <td>&nbsp;</td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  
  
  
  
  <tr>
    <td height="51">&nbsp;</td>
    <td>&nbsp;</td>
    <td></td>
    <td>&nbsp;</td>
    <td colspan="2" align="center" valign="middle"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
    <td></td>
  </tr>
  <tr>
    <td height="31">&nbsp;</td>
    
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</div>
<script type="text/javascript">
ddaccordion.init({
	headerclass: "submenuheader", //Shared CSS class name of headers group
	contentclass: "submenu", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click", "clickgo", or "mouseover"
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='images/plus.gif' class='statusicon' />", "<img src='images/minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})
</script>
<script language="javascript" src="js/jQuery.js"></script>
<script language="javascript" src="js/test.js"></script>	
<script language="JavaScript" type="text/javascript">
function check_form()
{
   var ckTensanpham= isEmpty ('txttensp', 'lbltensp', 'Tên sản phẩm không được bỏ trống !!');
   var ckCode= isEmpty('txtcode', 'lblcode', 'Mã sản phẩm không được bỏ trống !!');
   var ckGiasanpham= isEmpty('txtgiasp' , 'lblgiasp','Bạn phải nhập giá sản phẩm !');
   var ckAnhsanpham= isEmpty('anhsp' , 'lblanhsp','Bạn phải upload ảnh sản phẩm !');
   return !ckTensanpham &&!ckCode && !ckGiasanpham &&!ckAnhsanpham;
}
</script>
</body>
</html>